package ast;


import org.antlr.runtime.Token;

import ast.terminais.Identifier;

public class For_Command extends Lista_comandos{
	
	public For_Command(Token payload) {
		super(payload);
	}
	public Identifier getId() {
		return (Identifier) getChild(0);
	}
	public Expressao getExpressao1() {
		return (Expressao) getChild(1);
	}
	public Expressao getExpressao2() {
		return (Expressao) getChild(2);
	}
	public Expressao getExpressao3() {
		return (Expressao) getChild(3);
	}
	public Lista_comandos getLista_comandos() {
		return (Lista_comandos) getChild(4);
	}

	@Override
	public Object accept(IVisitor visitor, Object o) {
		return visitor.visit(this, o);
	}

}
